Total Complexity | 22 |
Dependencies | 7 |
Dependents | 1 |
Total lines | 261 |
Lines of code | 127 |
Logical lines of code | 71 |
Comment lines | 96 |
Methods | 13 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
create_earning() | 47 | 5 | 36 | |
append_withdraw_data_to_response() | 57 | 2 | 17 | |
update_earnings() | 58 | 2 | 16 | |
init_hooks() | 59 | 2 | 13 | |
localize_public_scripts() | 67 | 2 | 7 | |
save_user_withdraw_data() | 70 | 2 | 6 | |
__construct() | 81 | 1 | 3 | |
init() | 78 | 1 | 4 | |
localize_admin_scripts() | 74 | 1 | 4 | |
is_revenue_sharing_enabled() | 79 | 1 | 3 | |
register_rest_namespaces() | 76 | 1 | 4 | |
add_withdraw_submenu() | 65 | 1 | 9 | |
register_post_types() | 73 | 1 | 5 |